
package com.idealighter.game.backpack.message;

import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;

import com.idealighter.game.backpack.dto.ItemInfo;
import com.idealighter.game.core.annotation.ResMsg;
import com.idealighter.game.message.ModuleMsgIdConstant;
import com.idealighter.game.message.core.ResMessage;

import java.util.ArrayList;
import java.util.List;

import lombok.Data;

/**
 * 道具列表信息.
 */
@ResMsg(ModuleMsgIdConstant.Backpack.NOTICE_ITEM_INFOS)
@Data
public class ResItemInfosMsg implements ResMessage {
  @Protobuf(order = 1)
  private int id = ModuleMsgIdConstant.Backpack.NOTICE_ITEM_INFOS;
  // 物品信息
  @Protobuf(order = 2)
  private List<ItemInfo> items = new ArrayList<>();
}
